Physiotherapy through mobile app and connected device